const axios = require('axios')
async function getVersion() {
  const { data } = await axios.get('https://z.weixin.qq.com/web/change-log')
  const versions = [...new Set(data.match(/(\d+\.\d+\.\d+) for Windows/g))]
  const version = versions[versions.length - 1].replace(/ for Windows/g, '')
  console.log(version)
}
getVersion()